Objects Reference

renderGL::SetFullScreen

Prototype

void SetFullScreen()

Parameters

None

Return Value

None

Remarks

This is the OpenGL implementation for the render base class virtual function.

It handles window/fullscreen changes. It checks the global variable fullscreen and:
If it is 0, it switches to window mode.
If it is 1, it switches to fullscreen mode using the selected video mode defined in the selvideomode global variable.